{include file="header.tpl"}
<input id="itemId" type="hidden" disabled value="{$id}" />
{if $rows.control}
    {include file="form/panel.tpl"}
{else}
    {include file="form/menu.tpl"}
{/if}
<ul id="formCanvas">
    {foreach from=$rows.content item=item key=key}
        {include file='form/formPart.tpl'}
    {/foreach}
</ul>
<script type="text/javascript">
    formOnLoad();
</script>
{include file="footer.tpl"}